package in.muton.edushare.pages.user.panels;

import in.muton.edushare.pages.common.EdusharePanel;
import in.muton.edushare.pages.publicpages.userpages.UserRolePanel;
import in.muton.edushare.pages.user.UserBase;

import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.model.PropertyModel;

public class YourBannerPanel extends EdusharePanel {

	private static final long serialVersionUID = -3236258999883002646L;

	public YourBannerPanel(String id, UserBase page) {
		super(id, page);
		add(new Label("owner", new PropertyModel<String>(page,"model.object.completeUserName")));
		add(new UserRolePanel("roleInfo", page.getModel()));
	}

}
